public class test {
    public static void main(String[] args) {
        Niu sd=new Niu(60);
        System.out.println(sd);;
    }
}
class Niu{
    int shenggao=17;
    int tizhong=65;
    int xiema=39;

    public Niu(int shenggao, int tizhong, int xiema) {
        this.shenggao = shenggao;
        this.tizhong = tizhong;
        this.xiema = xiema;
    }

    {
        shenggao=20;
    }

    public Niu(){
        shenggao=30;
    }

    public Niu(int a){
        shenggao=a;
    }
    public void sdf(){
        System.out.println(shenggao);
    }
//    public String toString(){
//        return shenggao+"_"+tizhong;
//    }


    @Override
    public String toString() {
        return "Niu{" +
                "shenggao=" + shenggao +
                ", tizhong=" + tizhong +
                ", xiema=" + xiema +
                '}';
    }
}

